﻿@model WebUI.Models.SignInViewModel
@{
    ViewBag.Title = "Sign In";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

@section HeaderContent
{

}

<h1>Sign In</h1>
<p>
    Please enter your user name/email and password. 
</p>
<div class="spacer"></div>

@using (Html.BeginForm()) {
    <div class="SignFormDiv" id="SignInFormDiv">
        <fieldset>
            <div class="editor-label">
                @Html.LabelFor(m => m.UserName)
            </div>
            <div class="editor-field">
                @Html.TextBoxFor(m => m.UserName)
                @Html.ValidationMessageFor(m => m.UserName)
            </div>

            <div class="editor-label">
                @Html.LabelFor(m => m.Password)
            </div>
            <div class="editor-field">
                @Html.PasswordFor(m => m.Password)
                @Html.ValidationMessageFor(m => m.Password)
            </div>

            <div class="smallspacer"></div>
            <p>
                <input class="blue-submit" name="signin" type="submit" value="Sign In" />
            </p>
            <div class="smallspacer"></div>
            
            <p><span><a href="@Url.Action("ForgotPassword")">Forgot passowrd?</a></span></p>
            <p><span>Not a member? <a href="/signup">Sign Up Now</a></span></p>
        </fieldset>
    </div>
}

@section FooterContent
{
    <script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
}
